<template>
  <div id="openid">
    {{ openid }}
    <a :href="url">OPENID</a>
  </div>
</template>

<script >
export default {
  data() {
    return {
      openid: "openId",
      url: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxac8b1ac7dfe9b329&redirect_uri=http://diandian.api.leixiaolei.com/wechat/code&response_type=code&scope=snsapi_base#wechat_redirect",
    };
  }
};
</script>
